package com.bruce.demo2.patterns.demo1.creational.demo05.builder.demo2;

/**
 * @PROJECT_NAME design_patterns
 * @DESCRIPTION 具体建造者-ofo小黄车
 * @AUTHOR CNBruceLee
 * @DATE 2021/7/12 22:03
 */
public class OfoBuilder extends Builder {
    public void builderFrame() {
        mBike.setFrame("不锈钢");
    }

    public void builderSeat() {
        mBike.setSeat("橡胶");
    }

    public Bike createBike() {
        return mBike;
    }
}
